package com.itheima.sh.service;

import com.itheima.sh.pojo.PageRequest;
import com.itheima.sh.pojo.PageResult;
import com.itheima.sh.pojo.User;

import java.util.List;

public interface UserService {
    List<User> findAll();

    void addUser(User user);

    void updateUser(String username, Long id);

    void deleteUser(Long id);

    PageResult findPage(PageRequest pageRequest);
}
